package com.ctgu.edu.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ApplyJobInf {
    private Integer applySeekerId;
    private Integer applyJobId;
    private Integer applyFlag;
    private Integer applySalary;
    private Integer jobId;
    private Integer jobRecId;
    private String jobName;
    private String jobType;
    private String jobTime;
    private Integer jobSalary;
    private String jobPosition;
    private String jobInf;
    //调整为前端时间显示格式
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date jobSubmitTime;
    private Integer jobClickTimes;

    public ApplyJobInf() {
    }

    public ApplyJobInf(Apply apply,Job job) {
        this.applySeekerId = apply.getApplySeekerId();
        this.applyJobId = apply.getApplyJobId();
        this.applyFlag = apply.getApplyFlag();
        this.applySalary = apply.getApplySalary();
        this.jobId = job.getJobId();
        this.jobRecId = job.getJobRecId();
        this.jobName = job.getJobName();
        this.jobType = job.getJobType();
        this.jobTime = job.getJobTime();
        this.jobSalary = job.getJobSalary();
        this.jobPosition = job.getJobPosition();
        this.jobInf = job.getJobInf();
        this.jobSubmitTime = job.getJobSubmitTime();
        this.jobClickTimes = job.getJobClickTimes();
    }

    public ApplyJobInf(Integer applySeekerId, Integer applyJobId, Integer applyFlag, Integer applySalary, Integer jobId, Integer jobRecId, String jobName, String jobType, String jobTime, Integer jobSalary, String jobPosition, String jobInf, Date jobSubmitTime, Integer jobClickTimes) {
        this.applySeekerId = applySeekerId;
        this.applyJobId = applyJobId;
        this.applyFlag = applyFlag;
        this.applySalary = applySalary;
        this.jobId = jobId;
        this.jobRecId = jobRecId;
        this.jobName = jobName;
        this.jobType = jobType;
        this.jobTime = jobTime;
        this.jobSalary = jobSalary;
        this.jobPosition = jobPosition;
        this.jobInf = jobInf;
        this.jobSubmitTime = jobSubmitTime;
        this.jobClickTimes = jobClickTimes;
    }

    public Integer getApplySeekerId() {
        return applySeekerId;
    }

    public void setApplySeekerId(Integer applySeekerId) {
        this.applySeekerId = applySeekerId;
    }

    public Integer getApplyJobId() {
        return applyJobId;
    }

    public void setApplyJobId(Integer applyJobId) {
        this.applyJobId = applyJobId;
    }

    public Integer getApplyFlag() {
        return applyFlag;
    }

    public void setApplyFlag(Integer applyFlag) {
        this.applyFlag = applyFlag;
    }

    public Integer getApplySalary() {
        return applySalary;
    }

    public void setApplySalary(Integer applySalary) {
        this.applySalary = applySalary;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public Integer getJobRecId() {
        return jobRecId;
    }

    public void setJobRecId(Integer jobRecId) {
        this.jobRecId = jobRecId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getJobTime() {
        return jobTime;
    }

    public void setJobTime(String jobTime) {
        this.jobTime = jobTime;
    }

    public Integer getJobSalary() {
        return jobSalary;
    }

    public void setJobSalary(Integer jobSalary) {
        this.jobSalary = jobSalary;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public String getJobInf() {
        return jobInf;
    }

    public void setJobInf(String jobInf) {
        this.jobInf = jobInf;
    }

    public Date getJobSubmitTime() {
        return jobSubmitTime;
    }

    public void setJobSubmitTime(Date jobSubmitTime) {
        this.jobSubmitTime = jobSubmitTime;
    }

    public Integer getJobClickTimes() {
        return jobClickTimes;
    }

    public void setJobClickTimes(Integer jobClickTimes) {
        this.jobClickTimes = jobClickTimes;
    }
}
